package com.singfan.core.dao.database;

import com.singfan.core.dao.database.model.ShopHair;

import java.util.List;

/**
 *
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public interface IShopHairDao {
    void create(ShopHair shopHair);

    List<ShopHair> selectShopHairList(int serviceType, int listOrderType, int cityId, int businessCircleId, int pageIndex, int pageSize);

    List<ShopHair> selectShopHairList(List<Long> shopIdList);

    ShopHair selectShopHair(long shopId);

    void updateCollectCount(long shopId, boolean isCollected);

    void updateComment(long shopId, int commentCount, int commentScore, int honor);

    List<ShopHair> search(String searchText, int pageIndex, int pageSize);

    List<Long> selectShopIdList();

    List<ShopHair> selectSlaveShopList(int masterShopId, int pageIndex, int pageSize);

    void increaseBarberCount(long shopId);

    void supportServiceType(long shopId, int serviceType);

    void update(ShopHair shopHair);

    void updateStatus(long shopId, int status);
}